package thread.processing;

/**
 * This time we have separate class for Ping message and 
 * Separate class for Pong message.
 * @author Shahid
 */
public class PingPong {

	public static void main(String[] args) {
		
		Ping ping = new Ping(100);
    	Pong pong = new Pong(300);

    	new Thread(ping).start();
    	new Thread(pong).start();
	}
}

